import Vue from 'vue'
import Router from 'vue-router'
import index from '@/views/home/index'
import monitor from '@/views/monitor/monitor'
import logistics from '@/views/logistics/logistics'
import classroom from '@/views/classroom/classroom'
import officeData from '@/views/officeData/officeData'
import assetAnalysis from '@/views/assetAnalysis/assetAnalysis'
import oneCardSolution from '@/views/oneCardSolution/oneCardSolution'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index,
    },
    {
      path: '/logistics',
      name: 'logistics',
      component: logistics,
    },
    {
      path: '/monitor',
      name: 'monitor',
      component: monitor,
    },
    {
      path: '/classroom',
      name: 'classroom',
      component: classroom,
    },
    {
      path: '/assetAnalysis',
      name: 'assetAnalysis',
      component: assetAnalysis,
    },
    {
      path: '/officeData',
      name: 'officeData',
      component: officeData,
    },
    {
      path: '/oneCardSolution',
      name: 'oneCardSolution',
      component: oneCardSolution,
    }
  ]
})
